namespace Meridian.Data {

public enum DataTable {

    HISTORY, BOOKMARK, BOOKMARK_FOLDER, DOWNLOAD;
        
    public string to_string () {
        switch (this) {
            case HISTORY:
                return "history";
                
            case BOOKMARK:
                return "bookmark";
                
            case BOOKMARK_FOLDER:
                return "bookmark_folder";
                
            case DOWNLOAD:
                return "download";
                
            default:
                return "default";
        }
    }
        
}
}